Smush\Core\Modules\Resize A

Total Complexity 70
Dependencies 2
Dependents 1
Total lines 461
Lines of code 189
Logical lines of code 118
Comment lines 200
Methods 12
Properties 4

Methods 12

Method Rating Maintainability Complexity Lines of code
check_should_resize()
A
50 13 26
auto_resize()
A
46 12 37
initialize()
A
56 11 15
maybe_unlink()
A
52 9 24
perform_resize()
A
47 7 36
should_resize()
S
61 6 11
should_resmush()
S
71 3 6
try_gd_fallback()
S
62 2 13
init()
S
70 2 6
maybe_disable_module()
S
74 2 4
file_name()
S
72 2 6
replace_original_image()
S
72 1 5